package com.runen.infinitemovement.activity;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.RelativeLayout;

import com.runen.infinitemovement.Constant;
import com.runen.infinitemovement.R;
import com.runen.infinitemovement.base.BaseActivity;
import com.runen.infinitemovement.tool.CommonUtil;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MonthContributeActivity extends BaseActivity {
    @BindView(R.id.btn_finish)
    Button btnFinish;
    @BindView(R.id.rl_title)
    RelativeLayout rlTitle;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_month_contribute;
    }

    @Override
    protected void initView(@Nullable Bundle savedInstanceState) {
        ButterKnife.bind(this);
        int height = CommonUtil.getStatusBarHeight(this);
        rlTitle.setPadding(30, height + 20, 30, 20);
        findViewById(R.id.btn_finish).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

//    @OnClick({R.id.btn_finish})
//    public void onViewClicked(View view) {
//        switch (view.getId()) {
//            case R.id.btn_finish:
//                finish();
//                break;
//        }
//    }

    @Override
    protected boolean isUseFullScreenMode() {
        return true;
    }
}